
#encoding=UTF-8

from Error import *
from Building import *

class DarkBarracks(Building):
	def __init__(self):
		Building.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Dark_Barracks"
		self.number_available_dsec = """
0	0	0	0	0	0	1	2	2	2
"""
		self.level_info_desc = """
1	750,000	3 days	509	25	250	40	7	Minion
2	1,250,000	5 days	657	25	300	50	7	Hog Rider
3	1,750,000	6 days	720	25	350	60	8	Valkyrie
4	2,250,000	7 days	777	25	400	70	8	Golem
5	2,750,000	8 days	831	25	400	80	9	Witch
"""
		self._DoParse()

	def _HitPointsIndex(self):
		return 5

	def _BuildCostType(self):
		return 1 #Elixir

	def _BuildCostIndex(self):
		return 1

	def _BuildTimeIndex(self):
		return 2

	def _ExperienceGainedIndex(self):
		return 3

	def _TownHallLevelRequiredIndex(self):
		return 7

